class Role {
	dynamic createBy;
	dynamic createTime;
	dynamic updateBy;
	dynamic updateTime;
	dynamic remark;
	int? roleId;
	String? roleName;
	String? roleKey;
	int? roleSort;
	String? dataScope;
	bool? menuCheckStrictly;
	bool? deptCheckStrictly;
	String? status;
	dynamic delFlag;
	bool? flag;
	dynamic menuIds;
	dynamic deptIds;
	dynamic permissions;
	bool? admin;

	Role({
		this.createBy, 
		this.createTime, 
		this.updateBy, 
		this.updateTime, 
		this.remark, 
		this.roleId, 
		this.roleName, 
		this.roleKey, 
		this.roleSort, 
		this.dataScope, 
		this.menuCheckStrictly, 
		this.deptCheckStrictly, 
		this.status, 
		this.delFlag, 
		this.flag, 
		this.menuIds, 
		this.deptIds, 
		this.permissions, 
		this.admin, 
	});

	factory Role.fromJson(Map<String, dynamic> json) => Role(
				createBy: json['createBy'] as dynamic,
				createTime: json['createTime'] as dynamic,
				updateBy: json['updateBy'] as dynamic,
				updateTime: json['updateTime'] as dynamic,
				remark: json['remark'] as dynamic,
				roleId: json['roleId'] as int?,
				roleName: json['roleName'] as String?,
				roleKey: json['roleKey'] as String?,
				roleSort: json['roleSort'] as int?,
				dataScope: json['dataScope'] as String?,
				menuCheckStrictly: json['menuCheckStrictly'] as bool?,
				deptCheckStrictly: json['deptCheckStrictly'] as bool?,
				status: json['status'] as String?,
				delFlag: json['delFlag'] as dynamic,
				flag: json['flag'] as bool?,
				menuIds: json['menuIds'] as dynamic,
				deptIds: json['deptIds'] as dynamic,
				permissions: json['permissions'] as dynamic,
				admin: json['admin'] as bool?,
			);

	Map<String, dynamic> toJson() => {
				'createBy': createBy,
				'createTime': createTime,
				'updateBy': updateBy,
				'updateTime': updateTime,
				'remark': remark,
				'roleId': roleId,
				'roleName': roleName,
				'roleKey': roleKey,
				'roleSort': roleSort,
				'dataScope': dataScope,
				'menuCheckStrictly': menuCheckStrictly,
				'deptCheckStrictly': deptCheckStrictly,
				'status': status,
				'delFlag': delFlag,
				'flag': flag,
				'menuIds': menuIds,
				'deptIds': deptIds,
				'permissions': permissions,
				'admin': admin,
			};
}
